package edu.whcp.comp2301.mapper;

import edu.whcp.comp2301.pojo.dto.NewsCountDTO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DashboardMapper {
    public NewsCountDTO getNewsCount();

    public NewsCountDTO getNewsCountPercent();

    public NewsCountDTO getUserCount();

    public NewsCountDTO getUserCountPercent();

    public NewsCountDTO getCommentCount();

    public NewsCountDTO getCommentCountPercent();
}
